package com.zyl.blog.common.domain.file.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @version v1.0
 * @ProjectName: Personal_Blog_Server
 * @Package: com.zyl.blog.common.domain.file.dto
 * @ClassName: ErrorResponse
 * @Description:
 * @Author FinalFantasy
 * @Date 2025/8/14-13:32
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class ErrorResponse {
    /**
     * 时间戳
     */
    private LocalDateTime timestamp;

    /**
     * 状态码
     */
    private int status;

    /**
     * 错误信息
     */
    private String error;

    /**
     * 错误描述
     */
    private String message;
}
